package com.njtoyo.taxi.admin.mapper.master.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.njtoyo.taxi.admin.mapper.master.enums.SuspiciousRideAdminJudgment;
import com.njtoyo.taxi.admin.mapper.master.enums.SuspiciousRideSystemJudgment;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 可疑行程记录表
 * </p>
 *
 * @author Dell
 * @since 2021-11-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "SuspiciousRide对象", description = "可疑行程记录表")
public class SuspiciousRide implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "行程id")
    private Long rideId;

    @ApiModelProperty(value = "系统判断 0:distance_exceeded[行程超出距离],1:time_exceeded[行程超过时间],2:customer_report[乘客举报司机]")
    private SuspiciousRideSystemJudgment systemJudgment;

    @ApiModelProperty(value = "管理员是否已介入")
    private Boolean isCheck;

    @ApiModelProperty(value = "管理员介入判断 0:none[无],1:had[有]")
    private SuspiciousRideAdminJudgment adminJudgment;

    @ApiModelProperty(value = "创建时间")
    private Date createdAt;

    @ApiModelProperty(value = "修改时间")
    private Date updatedAt;


}
